import React from 'react'
import {Tabs, TabPlane} from '../myTab'

const UseTab = () => {
  return <>
    <Tabs activeIndex={1} onChange={(e) => {console.log(e,'ee')}}>
      <TabPlane key={1} name="tab1">选项卡一的内容</TabPlane>
      <TabPlane key={2} name="tab2">选项卡二的内容</TabPlane>
      <TabPlane key={3} name="tab3">选项卡三的内容</TabPlane>
    </Tabs>
  </>
}

export default UseTab